package com.editoken.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.editoken.mp.domain.dto.PageDTO;
import com.editoken.mp.domain.po.User;
import com.editoken.mp.domain.query.UserQuery;

import java.util.List;

public interface IUserService extends IService<User> {
    void deductMoneyById(Long id, Integer money);

    List<User> queryUsers(UserQuery query);

    PageDTO<User> queryUsersPage(UserQuery query);
}
